﻿@using MvcPaging;
@model IPagedList<Solution.Business.Entities.News>

@{
    ViewBag.Title = "NewsByPrice13";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div id="name">Vip</div>
	                   @{Html.RenderAction("VipNews","Home");}
                <div class="body-left-Normal">
                    @foreach (var item in Model)
                    { 
                        <div class="body-left-Normal-left">
                    	<div class="body-left-Normal-head">
                            <a href="@Url.Action("Index", "Details", new { Id = @item.NewsId })" title="@item.Title">@item.Title... </a>
                            <span>
                            	<a href="@Url.Action("Index", "Details", new { Id = @item.NewsId })" title="@item.Content
                                                    @item.Price">Xem chi tiết</a>
							</span>
                        </div> <!--End body-left-Normal-head-->
                        
                        <div class="body-left-Normal-img">
                        	<a href="@Url.Action("Index", "Details", new { Id = @item.NewsId })" title="@item.Title">
                            <img src="@item.Images" alt="Bán nhà 739/34 Xô Viết Nghệ Tĩnh, P.26, Q.Bình Thạnh, TP. Hồ Chí Minh" title="@item.Content
                                @item.Price">
							</a>
                        </div> <!--End body-left-Normal-img-->
                        
                        <div class="body-left-Normal-id">
                        	<b style="font-family:Arial, Helvetica, sans-serif; font-size:12px;">Mã số :</b>
                            <span>@item.NewsId</span>
                        </div> <!--End body-left-Normal-id-->
                        
                        <div class="body-left-Normal-price">
                        	<b style="font-family:Arial, Helvetica, sans-serif; font-size:12px;">Giá :</b>
                            <span>@item.Price @item.Payment.Name /Tổng diện tích</span>
                        </div> <!--End body-left-Normal-price-->
                        
                        <div class="body-left-Normal-price">
                        	<b style="font-family:Arial, Helvetica, sans-serif; font-size:12px;">Diện tích :</b>
                            <span>@item.Acreage m<sup>2</sup></span>
                        </div> <!--End body-left-Normal-price-->
                        
                        <p title="
@item.Content ."> 
@item.Content 
    @if(@item.Direction != null)
    {
@item.Direction.Name
    }

                                                   ...</p>

                    </div> <!--End body-left-Normal-left-->        
                    }
                
                    <center><div class="pager">
                    @Html.Pager(Model.PageSize, Model.PageNumber, Model.TotalItemCount).Options(o => o.AddRouteValue("PmId", ViewBag.PmId))
                </div></center>
                </div>